#pragma once

#include <iostream>
#include <sstream>
#include <SDLRenderer.h>
#include <SDLAnimation.h>

#include "SDLScene.h"
#include "Battle.h"
#include "TextManager.h"
#include "SDLEngine.h"
#include "SDLSprite.h"
#include "Database.h"
#include "Pokemon.h"

class PokemonGame :
	public SDLComponent
{
public:
	
	PokemonGame();
	~PokemonGame();

	void Start();
	void Update();
	void Stop(){};

	bool playersTurn;

private:
	
	Battle* current_Battle;

	SDLSprite* battle_Background;
	SDLSprite* battle_dialogPlayer;
	SDLSprite* battle_dialogAI;
	SDLSprite* attackBox;
	TextManager* text;

	Pokemon* allPokemons[150];
	Pokemon* playerPokemons[6];
	Pokemon* aiPokemons[6];

	int nbBattle;
};

